<div class="span-18 options-holder">
	<?= $this->partial('_partial/common_head.phtml', array('controller' => 'time')) ?>
</div>
<div class="span- last options-holder">
	<ul class="options-list top-right list">
		<li><a title="Dodaj godziny" class="action small add" href="<?php
	    	print $this->url(array(
	    		'module' => 'catalog',
	  			'controller'=>'time2',
	  			'action'=>'add'
    		),'default',false,false);
	    ?>">Dodaj godzine</a></li>

	    <li><a title="Dodaj godziny" class="action small add" href="<?php
	    	print $this->url(array(
	    		'module' => 'catalog',
	  			'controller'=>'time2',
	  			'action'=>'addweek'
    		),'default',false,false);
	    ?>">Godziny na tydzień</a></li>

	    <li><a title="Dodaj godziny" onclick="return confirm('Stracisz aktualne dane! Czy kontynuować?');" class="action small hot" href="<?php
	    	print $this->url(array(
	    		'module' => 'catalog',
	  			'controller'=>'time2',
	  			'action'=>'convert'
    		),'default',false,false);
	    ?>">Konwertuj godziny (!)</a></li>
	</ul>
</div>

<hr class="bottom"/>

<form action="" method="post">
<?php print $this->formSelect('action_type',null,null,array(
	'Wybierz akcje','update' => 'Aktualizuj', 'delete' => 'Usuń'
))?>
<?php print $this->formSubmit('default_action', 'Wykonaj akcje')?>
<?php print $this->grid->render($this, '_partial/newDataGrid.phtml');?>
</form>